package com.homedo.odin.solution.contract.pc;

import com.homedo.odin.solution.model.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(value = "支付接收bean", description = "UserPayRequestBean")
@Data
public class UserPayRequestBean extends BaseRequest {


    @NotNull(message = "订单编号不能为空")
    @ApiModelProperty("订单编号")
    private String tradeNo;

    @NotNull(message = "支付方式不能为空")
    @ApiModelProperty("支付方式")
    private Integer payMode;

    @NotNull(message = "用户编号不能为空")
    @ApiModelProperty("用户编号")
    private Integer userId;


}
